package com.lqg.bookLibrary.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author prodigal_lqg
 * @since 2023-04-16 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("menu")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单id
     */
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    /**
     * 菜单名称
     */
    @TableField("menu_name")
    private String menuName;

    /**
     * 访问路径
     */
    @TableField("path")
    private String path;

    /**
     * 父菜单
     */
    @TableField("father_id")
    private Integer fatherId;

    /**
     * 是否启用
     */
    @TableField("enable")
    private Integer enable;

    /**
     * 访问值
     */
    @TableField("query")
    private String query;


}
